icontheme: Add detail to the 'not found' message
authorMatthias Clasen <mclasen@redhat.com>
Fri, 4 Jun 2021 13:47:26 +0000 (09:47 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 4 Jun 2021 13:49:05 +0000 (09:49 -0400)
Name the icon theme we're using.

Fixes: #2271
gtk/gtkicontheme.c

index c0b33c67610ada7b1b4ed2446a185132a05f0d52..208c36d715edf6c0b4929445f4cb4e30d45eff38 100644 (file)
@@ -2269,7 +2269,7 @@ real_choose_icon (GtkIconTheme      *self,
     {
       GTK_NOTE(ICONFALLBACK, {
         char *s = g_strjoinv (", ", (char **)icon_names);
-        g_message ("No icon found for: %s", s);
+        g_message ("No icon found in %s (or fallbacks) for: %s", self->current_theme, s);
         g_free (s);
       });
       icon = icon_paintable_new ("image-missing", size, scale);